@echo off
set sum=0
set /a index=1

:start

	set /a sum+=%index%
	set /a index+=1
	echo now %sum%

if %index% leq 100 goto start

echo %sum%

pause
